Mock

A mock object that conforms to an interface/class.

Constructors

this
this(int)

Destructor

~this
~this()

Alias This

_impl

Members

Functions

returnValue
void returnValue(V values)

Set the returnValue of a function to certain values.

returnValue
void returnValue(V values)

This version takes overloads into account. i is the overload index. e.g.:

Meta